package com.poster.mappers;

import com.poster.entity.po.Permission;
import org.apache.ibatis.annotations.Param;

public interface PermissionMapper {

    int insert(@Param("bean") Permission bean);

    Permission selectByCode(String code);

    boolean existsByCode(String code);
}
